fix x86_64 domain0 /dev/mem issue
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 29 Jul 2005 10:22:03 +0000 (10:22 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 29 Jul 2005 10:22:03 +0000 (10:22 +0000)
x86_64 miss the define of ARCH_HAS_DEV_MEM, that causes
/drivers/char/mem.c to not show low 1M memory correctly.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h

index 0d6c53a95ca6e46847299641c7d54f5b294d97a3..3b729ec0d712219e566d2e7ad18b0e1a77fac939 100644 (file)
@@ -369,4 +369,6 @@ extern int iommu_bio_merge;
 
 #endif /* __KERNEL__ */
 
+#define ARCH_HAS_DEV_MEM
+
 #endif